package com.example.hdx.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.hdx.entity.Product;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import java.util.List;

@Mapper
public interface ProductMapper extends BaseMapper<Product> {
    @Select("select * from products")
    List<Product> getAllProducts();
}